package com.example.reflect.demo;

public class UserController {


    public String way;

    public User user;

    public void setUserName(User user) {

        System.out.println("用户名称:" + user.getName());
    }


    private void setUserAge(int age) {
        User user = new User();
        user.setAge(age);
        System.out.println("用户年龄:" + user.getAge());
    }


}
